package com.amz.analyzer.keyword.mapper;

import com.amz.analyzer.keyword.entity.SearchRank;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Freddy
 * @since 2020-08-20
 */
public interface SearchRankMapper extends BaseMapper<SearchRank> {

    @Select(value = "SELECT DISTINCT stat_date FROM amz_search_rank")
    List<String> getStatDateList();

}
